<?php
class Model_Comments
{
    /**
     * tblComments 
     * 
     * @var mixed
     * @access public
     */
    var $tblComments;

    /**
     * Model_Comments 
     * 
     * @access public
     * @return void
     */
    function Model_Comments(){
        $this->tblComments =& FLEA::getSingleton('Table_Comments');
    }

    /**
     * getComments 
     * 
     * @param mixed $post_id 
     * @param string $fields 
     * @param string $orderby 
     * @param mixed $links 
     * @access public
     * @return void
     */
    function getComments($post_id=null, $fields='*', $orderby='created DESC', $links=false){
    }

    /**
     * getComment 
     * 
     * @param mixed $comment_id 
     * @param string $fields 
     * @param mixed $links 
     * @access public
     * @return void
     */
    function getComment($comment_id=null, $fields='*', $links=false){
    }

    /**
     * createComment 
     * 
     * @param mixed $data 
     * @access public
     * @return void
     */
    function createComment(&$data){
    }

    /**
     * updateComment 
     * 
     * @param mixed $data 
     * @access public
     * @return void
     */
    function updateComment(&$data){
    }

    /**
     * replyComment 
     * 
     * @param mixed $comment_id 
     * @param mixed $data 
     * @access public
     * @return void
     */
    function replyComment($comment_id=null, $data){
    }

    /**
     * removeComment getSingleton
     * 
     * @param mixed $comments 
     * @access public
     * @return void
     */
    function removeComment($comments){
    }

    /**
     * &getTable 
     * 
     * @access public
     * @return void
     */
    function &getTable(){
        return $this->tblComments;
    }
}
